package com.yoyo.itravel.bean;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description 景点公司实体类
 * 
 * @author HZX
 * @date 2020/6/18 11:59
 * @version 1.0
 */
@Table(name = "tb_sight_company")
public class SightCompany implements Serializable {

    @Id
    @Column(name = "sightCompanyId")
    private String sightCompanyId; // 景点公司id
    @Column(name = "companyName")
    private String companyName; // 景点公司名称
    @Column(name = "alipayUID")
    private String alipayUID; // 公司支付宝账号UID
    @Column(name = "phone")
    private String phone; // 联系电话
    @Column(name = "address")
    private String address; // 公司地址
    @Column(name = "registerTime")
    private Date registerTime; // 公司注册时间
    @Column(name = "description")
    private String description; // 描述

    public SightCompany() {
    }

    public SightCompany(String sightCompanyId, String companyName, String alipayUID, String phone, String address, Date registerTime, String description) {
        this.sightCompanyId = sightCompanyId;
        this.companyName = companyName;
        this.alipayUID = alipayUID;
        this.phone = phone;
        this.address = address;
        this.registerTime = registerTime;
        this.description = description;
    }

    public String getSightCompanyId() {
        return sightCompanyId;
    }

    public SightCompany setSightCompanyId(String sightCompanyId) {
        this.sightCompanyId = sightCompanyId;
        return this;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getAlipayUID() {
        return alipayUID;
    }

    public void setAlipayUID(String alipayUID) {
        this.alipayUID = alipayUID;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "SightCompany{" +
                "sightCompanyId='" + sightCompanyId + '\'' +
                ", companyName='" + companyName + '\'' +
                ", alipayUID='" + alipayUID + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", registerTime=" + registerTime +
                ", description='" + description + '\'' +
                '}';
    }
}
